﻿using App.Services;
using Microsoft.AspNetCore.Mvc;

namespace App.Controllers
{
    public class GreetingV2Controller:Controller
    {
        [HttpGet("/greetv2")]
        public IActionResult Greet()
        {
            ViewBag.Time=DateTimeOffset.Now;
            return View();
        }
    }
}
